Using Operators

Operators are symbols like "+" and "−" that link variables and numbers together to form expressions. The variables and numbers linked together are called operands.

For example, in

ax + y

the operands for the "+" are x and y. The operands for the exponent operator are a and the expression x + y.

Inserting an Operator

Insert arithmetic operators in Mathcad using standard keystrokes, like [*] and [+]. Alternatively, all of Mathcad's operators can be inserted from the Math toolbars. Choose Toolbars from the View menu to see the Math toolbars with operators.

The available Math toolbars are:

Custom Operators

Since operators and functions are really the same, in that they both take arguments (operands) and return results, Mathcad allows you to define your own operators, just as you can define your own functions. You can define operators to accept one (unary) or two (binary) operands. You can give these operators whatever symbol you like.

When you use a Mathcad built-in operator, it's been precoded to know where to put placeholders for its operands. For custom operators, you need to use special formatting buttons from the Evaluation toolbar that allow you to display and use functions as operators. Also, see notes on typing special symbols.

Math Operators

Note that some of these operators are overloaded, in that they have different meaning depending on whether their arguments are scalars, vectors, or matrices. Different operations are described with individual operators. These keystrokes produce the operator in a blank space or in an equation, with one exception, the ["] key, which produces a new text region in a blank space or a string variable in a blank placeholder.

Keystrokes for each operator depend on your localized keyboard and operating system. The tooltips are for the US keyboards only. The Mathcad Keyboard Shortcuts page may show the shortcuts for your language keyboard.

Display

Operator

:=

definition

=

evaluation

≡

global definition

+

addition

+ ...

Addition with linebreak

−

Negation or subtraction

·

Multiplication or inner (dot) product

y divided by x

Division

÷

In-line division

..

Precedes last number in range

√

Square root

n√

Nth root

xy

Exponentiation or matrix inverse

d/dx

Derivative

dn/dxn

Nth derivative

∫

Integration

v[MC]

Namespace subscript

vi

Array subscript

M<n>

Column selection

×

Cross product

vectorize operator example

Vectorize

|x|

Magnitude or determinant

M^T

Transpose

complex conjugate of x

Complex conjugate

Σ

Summation

Σ

Range sum

Σv

Sum of elements in vector

Π

Product

Π

Range product

n!

Factorial

=

Equal to

≠

Not equal

<

Less than

>

Greater than

≤

Less than or equal

≥

Greater than or equal

Boolean AND

Boolean AND

not

Boolean NOT

Boolean OR

Boolean OR

exclusive or

Boolean XOR

mixed-number operator

Mixed-number operator

Typography Operators

Some operators are keyboard shortcuts for display only. More placeholders may appear in a math expression, but they don't imply a calculation.

Display

Keystroke

()

Matched pair of parentheses

A1

Literal subscript

α

Greek characters

Symbolic Operators

Display

Operator

 

Symbolic evaluation

 

Symbolic evaluation using keywords

 

indefinite integral

 

Limit

 

Right-hand limit

 

Left-hand limit